//
//  ComboBoxView.h
//  PlayBall
//
//  Created by Huawen Liu on 12-6-30.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//


#import "BYDialog.h"
#import "JddComboBoxCell.h"
#import "JddDefine.h"
@protocol ComboBoxViewDelegate <NSObject>

-(void)selectMatch:(NSMutableArray*)reslutArray;

@end

@interface JddComboBoxView : BYDialog<UITableViewDelegate,ComboBoxCellDelegate, UITableViewDataSource>
GET_INSTANCE_VIEW_DECLARE(JddComboBoxView)
@property (assign) id<ComboBoxViewDelegate> delegate;
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (strong, nonatomic) IBOutlet UITableView *dataListTable;
@property (strong, nonatomic) IBOutlet UIButton *commitButton;
@property (strong, nonatomic) IBOutlet UILabel *commitLabel;
@property NSArray *dataArray;
@property NSMutableArray *reslutArray;
@property NSMutableArray *tempArray;
@property NSInteger type;
@property(nonatomic,strong) NSString *selectedCellValue; //用被选择的cell赋值

-(IBAction)commit;
-(IBAction)selectout:(id)sender;

@end
